package com.efast.dmom.equipment.dao.repair;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.efast.dmom.equipment.bean.repair.EquipRepairEquipInfoBean;
import com.efast.dmom.equipment.bean.repair.EquipRepairOrderBean;
import com.efast.dmom.equipment.bean.repair.EquipRepairPlanBean;

public interface EquipRepairPlanDao {

	public Integer saveRepairPlanBaseInfo(EquipRepairPlanBean planBean);
	
	public void saveRepairPlanEquipInfo(@Param(value = "list") List<EquipRepairEquipInfoBean> infoList);
	
	public void createRepairOrder(@Param(value = "list") List<EquipRepairOrderBean> orderList);
	
	public void updateRepairPlanStatus(@Param(value = "planId") Integer planId, @Param(value = "status") String status);
	
	public void updateRepairPlan(EquipRepairPlanBean planBean);
	
	public void deleteRepairPlanEquipInfo(@Param(value = "planId") Integer planId);
	
	public void deleteRepairPlan(@Param(value = "id") Integer id);
	
	public EquipRepairPlanBean getRepairPlanBaseInfoById(@Param(value = "planId") Integer planId);
}
